package com.SpringMVC.controller;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 普通handler
 */

public class TestHandler extends AbstractController {
    @Override
    public ModelAndView handleRequestInternal(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {
        System.out.println("httpServletRequest = [" + httpServletRequest + "], httpServletResponse = [" + httpServletResponse + "]");
        return null;
    }
}
